﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IllustratedCsharp7_ch20_Linq
{
    class Chapt20_6StandardQueryOperators
    {
        static int[] numbers = new int[] { 2, 4, 6 };
        static void _Main()
        {
            int total = numbers.Sum();
            int howMany = numbers.Count();

            Console.WriteLine($"Total:{total},Count:{howMany}");
        }
    }
}
